
import { audioManager, AudioManager } from "./Manager/AudioManager/AudioManager";
import { LogManager } from "./Manager/LogManager/LogManager";
import { popManager, PopManager } from "./Manager/PopManager/PopManager";
import { resManager, ResManager } from "./Manager/ResManager/ResManager";
import { uiManager } from "./Manager/UIManager/UIManager";


class Core {

    //输出管理
    public logManager = LogManager;

    //场景ui管理
    public uiManager = uiManager;

    public popManager = popManager;

    //资源管理
    public resManager = resManager;

    //音效管理
    public audioManager = audioManager;


}

declare global {
    interface Window {
        app: Core;
    }

    var app: Core;
}

window.app = new Core();

